GetBucketInfo
Description
GetBucketInfo operation is used to view bucket related information.
Request Method
POST
Request Path
/apsara/route/OneRouter/GetBucketInfo
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
AccessControlList | BODY | container | No | No sample value for this parameter. | container for storing ACL information. |
CreationDate | BODY | time | No | No sample value for this parameter. | Bucket creation time. |
Grant | BODY | enumeration string | No | No sample value for this parameter. | bucket ACL permissions. valid values: private, public-read, public-read-write |
Owner | BODY | container | No | No sample value for this parameter. | container for storing bucket owner information. |
version | BODY | string | No | 2016-01-01 | version of api |
Name | BODY | string | No | No sample value for this parameter. | Bucket name. |
Bucket | BODY | container | No | No sample value for this parameter. | The container that holds specific information about the bucket. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
ExtranetEndpoint | BODY | string | No | No sample value for this parameter. | external network Endpoint. |
DisplayName | BODY | string | No | No sample value for this parameter. | the name of the bucket owner (currently the same as the ID). |
BucketInfo | BODY | container | No | No sample value for this parameter. | container for storing bucket information content. |
ID | BODY | string | No | No sample value for this parameter. | the user ID of the bucket owner. |
IntranetEndpoint | BODY | string | No | No sample value for this parameter. | intranet Endpoint. |
Location | BODY | string | No | No sample value for this parameter. | The area of the data center where the bucket is located. |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}